<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>诛仙3</title>

        <style>
            .center{
                text-align: center;
            }
            .color{
                color: red;
            }
        </style>
    </head>
    <body>
        <h1 class="center">标题居中</h1>
        <p class="center color">段落居中,颜色为红色</p>
    </body>
</html>